﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Workflow.Runtime.Hosting;

namespace OpenComposite.Workflow.Services
{
	public class AsyncService : WorkflowRuntimeService
	{
		public delegate void AsyncWebServiceCallback(LogicalAsyncState state);

		public void RegisterAsyncWebServiceCall(LogicalAsyncState state, AsyncWebServiceCallback callback)
		{
			state.WorkflowInstance = this.Runtime.GetWorkflow(state.WorkflowInstanceId);
		}
	}
}
